package commands;

import server.Actions;

public class TransferRecord implements Command {
	private Actions action;
	private String id;
	private String remoteStationServerName;
	private String officerId;
	
	public TransferRecord(Actions action, String id, String remoteStationServerName, String officerId) {
		super();
		this.action = action;
		this.id = id;
		this.remoteStationServerName = remoteStationServerName;
		this.officerId = officerId;
	}
	
	@Override
	public String execute() {
		return action.transferRecord(id, remoteStationServerName, officerId);
	}
}
